package com.study.talk.entity;

import com.study.talk.entity.vo.MomentLikeVo;

public class MomentLike {

   //"点赞记录id")
    private Integer id;

   //"动态id")
    private Integer momentId;

   //"点赞用户id")
    private Integer userId;

   //"点赞用户名")
    private String userName;

    //"点赞状态")
    private Integer likeState;

   //"创建时间")
    private String createTime;

    public MomentLike(MomentLikeVo momentLikeVo) {
        this.momentId = momentLikeVo.getMomentId();
        this.userId = momentLikeVo.getUserId();
        this.userName = momentLikeVo.getUserName();
    }

    public MomentLike(Integer id, Integer momentId, Integer userId, String userName, String createTime) {
        this.id = id;
        this.momentId = momentId;
        this.userId = userId;
        this.userName = userName;
        this.createTime = createTime;
    }


    public MomentLike(Integer momentId, Integer userId, String userName,Integer likeState) {
        this.momentId = momentId;
        this.userId = userId;
        this.userName = userName;
        this.likeState = likeState;
    }

    public MomentLike() {
    }

    public MomentLike(Integer id, Integer momentId, Integer userId, String userName, Integer likeState, String createTime) {
        this.id = id;
        this.momentId = momentId;
        this.userId = userId;
        this.userName = userName;
        this.likeState = likeState;
        this.createTime = createTime;
    }

    public Integer getLikeState() {
        return likeState;
    }

    public void setLikeState(Integer likeState) {
        this.likeState = likeState;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMomentId() {
        return momentId;
    }

    public void setMomentId(Integer momentId) {
        this.momentId = momentId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
